package org.gaaidou.ptarmigan.transactioncoordinator.service;

import org.gaaidou.ptarmigan.transactioncoordinator.bean.Transaction2PC;

public interface Transaction2PCService {
    void start(String txId, String origin);

    void rollback(String txId, String origin);

    void commit(String txId, String origin);

    void complete(String txId, String origin);

    Transaction2PC fetch(String txId, String origin);
}
